package web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;;

@Controller
public class HomeController {

  @RequestMapping("/")
  public String goHome() {
    return "home";// 返回视图名
  }
}